package numbers;

import java.io.PrintStream;

public class Numbers {
	PrintStream out;

	Numbers(){
		out = new PrintStream(System.out);
	}

	void start(int getal){
		if(getal == 0){
			return;
		}
		out.printf("%d ",getal);
		start(getal - 1);
		out.printf("%d ",getal);
	}

	public static void main(String[] args) {
		new Numbers().start(10);
	}

}
